from django.utils.translation import ugettext_lazy as _
from djwheel.deprecated.contentpagesfactory.core import register_admin
from models import ContentpagesMenuItem

custom_fieldsets = (
    (None, {
        'fields': ('view', 'view_item')
    }),
    (_('Content'), {
        'fields': ('custom_title', 'content', 'content2', 'content3')
    }),
    (_('SEO'), {
        'fields': ('meta_keywords', 'meta_description')
    }),
)


register_admin(ContentpagesMenuItem, custom_fieldsets)